// 店铺费用相关类型定义

// 费用记录VO，遵循《Element Plus组件编码规范权威标准声明.md》规范
export interface ShopFeeRecordVO {
  id: number
  shopId: number
  shopName: string
  feeType: string
  feeTypeName: string
  feeAmount: number
  feeDate: string
  dueDate: string
  paymentDate?: string
  paymentStatus: number
  paymentStatusName: string
  paymentMethod?: string
  receiptNumber?: string
  remark?: string
  createTime: string
  updateTime: string
}

// 支付信息接口，遵循《Element Plus组件编码规范权威标准声明.md》规范
export interface PaymentInfo {
  paymentMethod: string
  paymentDate: string
  receiptNumber?: string
  remark?: string
}

export interface ShopVO {
  id: number
  shopName: string
  shopCode: string
  shopType: number
  shopTypeName: string
  communityId: number
  communityName: string
  buildingId?: number
  buildingName?: string
  unitId?: number
  unitName?: string
  roomNumber?: string
  floorNumber?: number
  area?: number
  rentPrice?: number
  contactPerson?: string
  contactPhone?: string
  businessLicense?: string
  status: number
  statusName: string
  remark?: string
  createTime: string
  updateTime: string
}

// 搜索表单类型
export interface ShopFeeSearchForm {
  shopId?: number | null
  feeType?: string | null
  paymentStatus?: number | null
  feeDateRange?: [string, string] | null
}

// 分页信息类型
export interface PaginationInfo {
  current: number
  size: number
  total: number
}

// 费用统计信息类型
export interface FeeStatistics {
  totalAmount: number
  paidAmount: number
  unpaidAmount: number
  overdueAmount: number
}

// 支付信息类型
export interface PaymentInfo {
  paymentMethod: string
  paymentDate: string
  receiptNumber?: string
  remark?: string
}
